<%--
    Document   : note-update.htm
    Created on : 31 Mei 11, 15:17:39
    Author     : Bayu
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Note Update</title>
    </head>
    <body>
        <h1 align="center">Edit Notes</h1>
        <c:forEach items="${data}" var="data">
            <form method="post">
            <input type="hidden" name="id" value="${data.id}" />
            <input type="hidden" name="type" value="${data.type}" />
            <table align="center">
            <tr>
            
                <td valign="top">Notes</td>
                <td><textarea name="notes" cols="40" rows="10">${data.notes}</textarea></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" name="save" value="Save"></td>
            </tr>
        </table>
            </form>    
        </c:forEach>
    </body>
</html>
